import http from "@/utils/request"

//登陆
export async function login(params) {
    return await http.post(`/login`, params);
}

//留言列表
export async function getChathistory(params) {
    return await http.get(`/user/getChathistory`, params);
}

//新留言
export async function newChat(params) {
    return await http.post(`/user/newChat`, params);
}
